package com.base.component.ai.agent.bo.msg.base;

import com.gitee.magic.core.valid.annotation.Format;
import com.gitee.magic.core.valid.annotation.Format.FormatType;
import com.gitee.magic.core.valid.annotation.Length;
import com.gitee.magic.core.valid.annotation.NotNull;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 消息
 * 
 * @author start
 *
 */
@Getter@Setter@ToString
public class MsgBaseBO extends MsgParentBO{

	private static final long serialVersionUID = 1L;

	@Schema(description = "内容数据")
	@Length
	private String content;

	@Schema(description = "消息Key")
	@NotNull
	@Format(type = FormatType.MD5)
	private String messageKey;

}
